package pCloud.service;

import pCloud.server.DatabaseHandle;

public interface AccessControlHandle {
	public void init();
	
	public boolean addPolicy(Object o);
	
	public boolean removePolicy(Object o);
	
//	public Object evaluateRequest(int requestId, String keyColumn, Object request, DatabaseHandle databaseHandler) throws Exception;
	
	public Object evaluateRequest(int requestId, String keyColumn, Object request, DatabaseHandle databaseHandler, AuroraDataStreamHandle auroraHandler) throws Exception;

	public Object queryPolicy();
}
